﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Windows.Forms;

namespace Dafybjy
{
    /// <summary>
    /// 大安妇幼保健院
    /// </summary>
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            AppSettings.CloseTimes = Convert.ToInt32(ConfigurationManager.AppSettings["CloseTimes"]);
            AppSettings.DlgTimes = Convert.ToInt32(ConfigurationManager.AppSettings["DlgTimes"]);
            AppSettings.ReportCfg = new ReportConfig()
            {
                ReportDays = Convert.ToInt32(ConfigurationManager.AppSettings["ReportDays"])
            };

            Application.Run(new ReadCard());
        }
    }
}
